package com.deke.course.service;

import com.deke.entity.EduSubject;
import com.deke.vo.Result;
import com.deke.course.vo.SubjectVo;

import java.util.Map;

public interface EduSubjectService {
    /**
     * 根据条件分页搜索课程分类信息
     * @param subjectVo 条件对象
     * @param pageCurrent 页码
     * @param pageSize 每页显示的纪录
     * @return
     */
    Result findByConditionPage(SubjectVo subjectVo , Integer pageCurrent, Integer pageSize);
  /**
   * @Parm id
   * @Return
   * @Author Lim
   * @Date 2022/12/9 14:49
   */
      Result deleteSubject(String id);

    Result insertSubject(EduSubject eduSubject);

    Result updatesubject(EduSubject eduSubject);

    Result changeStatusId(Map map);

    //前台 拿到所有的课程种类
    Result getAllMenu();
}
